<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <?php
        // get application URL eg: /sopha/
        // make a shortcut to Yii::app()->Yii::app()->request->baseUrl
        $baseUrl = Yii::app()->request->baseUrl;
        $themeUrl = Yii::app()->theme->baseUrl;
        ?>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="language" content="en" />
        <meta name="author" content="LTH" />
        <meta name="description" content="LTH" />
        <meta name="keywords" content="mmo" />

        <title><?php echo $this->pageTitle; ?></title>
        <link href="<?php echo $themeUrl ?>/res/css/master2.css" rel="stylesheet" type="text/css" />
        <link href="<?php echo $themeUrl ?>/res/css/home.css" rel="stylesheet" type="text/css" />

        <script type="text/javascript" src="<?php echo $baseUrl ?>/res/js/jquery/jquery-1.10.1.js"></script>
        <script type="text/javascript" src="<?php echo $baseUrl ?>/res/js/jquery/jquery-ui.js"></script>
        <script type="text/javascript" src="<?php echo $baseUrl ?>/res/js/jquery/jquery-ui-tabs-rotate.js"></script>
        <script type="text/javascript" src="<?php echo $themeUrl ?>/res/js/home.js"></script>

    </head>

    <body>

        <!-- top container -->
        <?php $this->renderPartial('//layouts/containers/top_container') ?>

        <!-- content containter -->
        <div class="main-container">
            <?php echo $content ?>
        </div>

        <!-- gray container -->
        <?php //$this->renderPartial('//layouts/containers/gray_container') ?>

        <!-- footer container -->
        <?php $this->renderPartial('//layouts/containers/footer_container') ?>

        <!-- bottom bar container -->
        <?php $this->renderPartial('//layouts/containers/bottom_bar_container') ?>

    </body>
</html>
